package com.mdx.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mdx.bean.ExpertBean;

public interface IExpertService extends IService<ExpertBean> {
    /**
     * 动态条件查询专家信息
     * @param pageNO
     * @param pageSize
     * @param expertName
     * @param specialty
     * @param jobUnit
     * @return
     */
    IPage<ExpertBean> findByItem(int pageNO,int pageSize,String expertName,String specialty,String jobUnit);

    /**
     * 根据id修改专家信息
     * @param expertId
     * @param expertTel
     * @param office
     * @param jobUnit
     * @param email
     */
    void updateById(int expertId,String expertTel,String office,String jobUnit,String email);
}
